package com.dragon.flow.model.form;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.flow.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @title:
 * @author: bruce.liu
 * @since: 2024/9/9 22:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tbl_flow_plus_form_info")
public class FlowablePlusFormInfo extends BaseModel implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    @TableField("id")
    private String id;

    /**
     * 流程实例id
     */
    @TableField("process_instance_id")
    private String processInstanceId;
    @TableField("process_definition_id")
    private String processDefinitionId;//流程定义id
    /**
     * 业务单据id
     */
    @TableField("business_key")
    private String businessKey;
    /**
     * 模型key
     */
    @TableField("model_key")
    private String modelKey;

    /**
     * 流程表单名称
     */
    @TableField("form_name")
    private String formName;

    /**
     * 流程发起人
     */
    @TableField("current_user_code")
    private String currentUserCode;

    /**
     * 租户id(系统标识)
     */
    @TableField("tenant_id")
    private String tenantId;
    /**
     * 用户信息
     */
    @TableField("user_info")
    private String userInfo;
    /**
     * 表单数据
     */
    @TableField("form_data")
    private String formData;
}
